#ifndef MeshBuffer_h__
#define MeshBuffer_h__

#include "Common/CommonTypes.h"

class CVertexBuffer;
class CIndexBuffer;
class CRenderSystem;

class CMeshBuffer
{
public:
	CMeshBuffer(CVertexBuffer* pVertexBuffer, CIndexBuffer* pIndexBuffer);
	~CMeshBuffer();

	void Render(CRenderSystem* pRenderer);

	void Release();

public:
	CVertexBuffer* m_pVertexBuffer;
	CIndexBuffer*  m_pIndexBuffer;

	UINT32         m_dwVertexOffset;
	UINT32         m_dwIndexOffset;
};
#endif // MeshBuffer_h__
